﻿using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
namespace WindowsGame1
{
    class NewPlayer : Player
    {
         public NewPlayer(Vector2 posicao, Color cor, Texture2D textura, Animation[] animations)
            : base(posicao, cor, textura, animations)
        {
            Origem = new Vector2(Retangulo.Width / 2, Retangulo.Height / 2);
        }
        public new void Update(Microsoft.Xna.Framework.GameTime gameTime)
        {
            base.Update(gameTime);
        }
        public new void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(Textura, Posicao, Retangulo, Cor, Rotacao, Origem, Escala, Efeito, Camada);
        }
    }
}
